package com.ruoyi.framework.netty.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * netty服务端配置参数
 * @author zhusy
 * @since 2021/12/1
 */
@Data
@Component
@ConfigurationProperties(prefix = "netty")
public class NettyChatProperties {

    private int port;

    private String websocketUrl;

    private int bossThread;

    private int workerThread;

    private int backLog;

    private long readTime;

    private long writerTime;

    private long allTime;

}
